package com.juntuo.mapper;

import com.juntuo.entity.DeviceHistory;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;


public interface DeviceHistoryMapper extends Mapper<DeviceHistory> {

    List<Map<String,Object>> selectByParams(@Param("name") String name);
    List<DeviceHistory> selectGroupedLastRecord();
}